/*全局*/
.fl{
    float: left;
}
.fr{
    float: right;
}
hr{
    background: #ddd;
}
pre{
    background-color: #eee;
    border-radius: 3px;
    color:#2980b9!important;
    padding: 10px 15px;
    letter-spacing: .1em;
    margin: 10px 0;
}
code{
    white-space: pre;
    background: transparent!important;
    color:#2980b9!important;
    line-height: 1.3em;
}
/*侧边栏*/
.side-bar{
    position: fixed;
    left:0;
    top:0;
    height:100%;
    width: 160px;
    background: #2c3e50;
}
.side-bar .logo{
    font-size: 30px;
    color: #3498db;
    height:80px;
    line-height: 80px;
    text-align: center;
    font-weight: bold;
    text-shadow: 3px 3px 0 rgba(23, 31, 35, 0.5);
    /*text-shadow: 2px 2px 0 rgba(160, 160, 160, .3);*/
}
.side-bar li a{
    text-decoration: none;
    text-align: center;
    display: block;
    height: 42px;
    line-height: 42px;
    color:#fff;
    border-left:4px solid transparent;
    text-indent: -4px;
}
.side-bar li a.active{
    background: #34495e;
    border-left:4px solid #3498db;
    font-weight: bold;
}
.side-bar li a:hover{
    background: #34495e;
    font-weight: bold;
}

/*侧边子栏*/
.sub-side-bar{
    position: fixed;
    left:160px;
    top:0;
    width:200px;
    height:100%;
    overflow-y: scroll;
    padding:20px 10px 20px 20px;
}
.sub-side-bar .level-2{
    padding-left:30px;
}
.sub-side-bar li a{
    display: block;
    text-decoration: none;
    min-height:36px;
    line-height: 36px;
    color:#2c3e50;
    font-weight: bold;
}
.sub-side-bar li a:hover{
    color:#7f8c8d;
}
/*内容*/
.content{
    margin-left:350px;
    padding:30px 100px;
    color:#2c3e50;
}
.content h1{
    position: relative;
    font-size: 30px;
    margin:20px 0 30px;
    border-bottom:1px solid #ddd;
}
.content h1 i{
    position: absolute;
    left:-30px;
    font-size:24px;
    line-height: 30px;
    color:#aaa;
}
.content h2{
    position: relative;
    font-size: 24px;
    margin:20px 0 20px;
}
.content h2 i{
    position: absolute;
    left:-26px;
    font-size:20px;
    line-height: 24px;
    color:#aaa;
}
.content li{
    position: relative;
    line-height: 24px;
    text-indent: 12px;
}
.content li:before{
    content:'';
    position: absolute;
    top:8px;
    display: block;
    width:5px;
    height:5px;
    background: #000;
    transform: rotate(45deg);
}
.content .down-btn-group a{
    display: inline-block;
    color:#fff;
    background: #666;
    padding-left:5px;
    text-decoration: none;
    margin-right:10px;
    border-radius: 3px;
    overflow: hidden;
}
.content .down-btn-group a span{
    display: inline-block;
    height:100%;
    background: #3498db;
    padding:5px;
    margin-left:5px;
}